CREATE TABLE [dbo].[TTDOCU_CART]
(
[CO_DOCU] [dbo].[TD_VC_003] NOT NULL,
[NO_DOCU] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ST_FACT] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL CONSTRAINT [DF__TTDOCU_CA__ST_FA__530E3526] DEFAULT ('N'),
[CO_USUA_CREA] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NULL CONSTRAINT [DF__TTDOCU_CA__CO_US__54F67D98] DEFAULT (suser_sname()),
[FE_USUA_CREA] [datetime] NULL CONSTRAINT [DF__TTDOCU_CA__FE_US__55EAA1D1] DEFAULT (getdate()),
[CO_USUA_MODI] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NULL CONSTRAINT [DF__TTDOCU_CA__CO_US__56DEC60A] DEFAULT (suser_sname()),
[FE_USUA_MODI] [datetime] NULL CONSTRAINT [DF__TTDOCU_CA__FE_US__57D2EA43] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTDOCU_CART] WITH NOCHECK ADD CONSTRAINT [CK__TTDOCU_CA__ST_FA__5402595F] CHECK NOT FOR REPLICATION (([ST_FACT]='N' OR [ST_FACT]='S'))
GO
ALTER TABLE [dbo].[TTDOCU_CART] ADD CONSTRAINT [PK__TTDOCU_C__0DFCAD652EDBC1A8] PRIMARY KEY CLUSTERED  ([CO_DOCU]) ON [PRIMARY]
GO
